package com.theme.passport.service.theme;

import com.baomidou.mybatisplus.extension.service.IService;
import com.theme.common.mvc.utils.PageUtils;
import com.theme.common.mvc.view.R;
import com.theme.passport.entity.theme.ThemeEntity;

import java.util.List;
import java.util.Map;

/**
 * 壁纸主题表
 *
 * @author live
 * @email 870459550@qq.com
 * @date 2020-11-23 10:57:59
 */
public interface ThemeService extends IService<ThemeEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByStatus(Map<String, Object> params);

    R saveTheme(ThemeEntity theme);

    R updateTheme(ThemeEntity theme);

    R deleteTheme(List<Long> asList);

    /**
     * @title: 获取主题根据ids <tb>
     * @author: cuixinfu@51play.com <tb>
     * @date: 2021/10/22 9:57:36<tb>
     */
    PageUtils queryThemeByIds(Map<String, Object> params, List<Long> themeIds);

}

